package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallOrderPayDao;
import com.appkubes.mall.core.entity.MallOrderPay;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallOrderPayService extends AbstractBaseService<BaseMallOrderPayDao, MallOrderPay> {

    MallOrderPay getOneByEntity(MallOrderPay entity);

    List<MallOrderPay> selectListByEntity(MallOrderPay entity);

    IPage<MallOrderPay> selectPageByEntity(IPage<MallOrderPay> page);
    IPage<MallOrderPay> selectPageByEntity(PageVO pageVO);

    IPage<MallOrderPay> selectPageByEntity(MallOrderPay entity, IPage<MallOrderPay> page);
    IPage<MallOrderPay> selectPageByEntity(MallOrderPay entity, PageVO pageVO);

    IPage<MallOrderPay> selectPageByEntity(MallOrderPay entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallOrderPay entity);
}
